<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: sc2::ActionImp Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>sc2</b></li><li class="navelem"><a class="el" href="classsc2_1_1_action_imp.html">ActionImp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classsc2_1_1_action_imp-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sc2::ActionImp Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for sc2::ActionImp:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsc2_1_1_action_imp.png" usemap="#sc2::ActionImp_map" alt=""/>
  <map id="sc2::ActionImp_map" name="sc2::ActionImp_map">
<area href="classsc2_1_1_action_interface.html" alt="sc2::ActionInterface" shape="rect" coords="0,0,124,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae981eb4594b7513781cf94b28461407a"><td class="memItemLeft" align="right" valign="top"><a id="ae981eb4594b7513781cf94b28461407a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ActionImp</b> (<a class="el" href="classsc2_1_1_proto_interface.html">ProtoInterface</a> &amp;proto)</td></tr>
<tr class="separator:ae981eb4594b7513781cf94b28461407a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a936e32c30f50635fac3899b625361ad5"><td class="memItemLeft" align="right" valign="top"><a id="a936e32c30f50635fac3899b625361ad5"></a>
GameStateProtocol::RequestAction *&#160;</td><td class="memItemRight" valign="bottom"><b>GetRequestAction</b> ()</td></tr>
<tr class="separator:a936e32c30f50635fac3899b625361ad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a633373febea0f4d74a2888932fa53733"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#a633373febea0f4d74a2888932fa53733">UnitCommand</a> (uint64_t unit_tag, uint32_t ability) override</td></tr>
<tr class="separator:a633373febea0f4d74a2888932fa53733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8557f67da3552d161d84f35e80f854"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#a4b8557f67da3552d161d84f35e80f854">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, uint32_t ability) override</td></tr>
<tr class="separator:a4b8557f67da3552d161d84f35e80f854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4b1431197e8bf2339755756e30c3af2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#ab4b1431197e8bf2339755756e30c3af2">UnitCommand</a> (uint64_t unit_tag, uint32_t ability, const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;point) override</td></tr>
<tr class="separator:ab4b1431197e8bf2339755756e30c3af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ba75d04c3771eee8f97f8ac03eaafc1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#a1ba75d04c3771eee8f97f8ac03eaafc1">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, uint32_t ability, const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;point) override</td></tr>
<tr class="separator:a1ba75d04c3771eee8f97f8ac03eaafc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba8628a8421f0e879efdb0c19018f7d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#aba8628a8421f0e879efdb0c19018f7d6">UnitCommand</a> (uint64_t unit_tag, uint32_t ability, uint64_t target_tag) override</td></tr>
<tr class="separator:aba8628a8421f0e879efdb0c19018f7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb0b8dc66628da18902cbc39a292a4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#adeb0b8dc66628da18902cbc39a292a4d">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, uint32_t ability, uint64_t target_tag) override</td></tr>
<tr class="separator:adeb0b8dc66628da18902cbc39a292a4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1edc0de46368f2c2edb79aa098727fb4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_imp.html#a1edc0de46368f2c2edb79aa098727fb4">SendUnitCommands</a> () override</td></tr>
<tr class="separator:a1edc0de46368f2c2edb79aa098727fb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsc2_1_1_action_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classsc2_1_1_action_interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classsc2_1_1_action_interface.html">sc2::ActionInterface</a></td></tr>
<tr class="memitem:afeacd6cb859f716f343a17014904084d inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#afeacd6cb859f716f343a17014904084d">UnitCommand</a> (uint64_t unit_tag, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability)</td></tr>
<tr class="separator:afeacd6cb859f716f343a17014904084d inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6381cfb9b448bc58b4e63e7e977b2d inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#aba6381cfb9b448bc58b4e63e7e977b2d">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability)</td></tr>
<tr class="separator:aba6381cfb9b448bc58b4e63e7e977b2d inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac028e969037854cb38fd7925e4363506 inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#ac028e969037854cb38fd7925e4363506">UnitCommand</a> (uint64_t unit_tag, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability, const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;point)</td></tr>
<tr class="separator:ac028e969037854cb38fd7925e4363506 inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ca8e7ef4521a44be5d9d6e6b620a0b9 inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#a1ca8e7ef4521a44be5d9d6e6b620a0b9">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability, const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;point)</td></tr>
<tr class="separator:a1ca8e7ef4521a44be5d9d6e6b620a0b9 inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfaf5316d30ccf8ff8c41bc623ff1c8f inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#adfaf5316d30ccf8ff8c41bc623ff1c8f">UnitCommand</a> (uint64_t unit_tag, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability, uint64_t target_tag)</td></tr>
<tr class="separator:adfaf5316d30ccf8ff8c41bc623ff1c8f inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5aeb3021c92a6a75734445c98f694ab inherit pub_methods_classsc2_1_1_action_interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc2_1_1_action_interface.html#ae5aeb3021c92a6a75734445c98f694ab">UnitCommand</a> (const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;unit, <a class="el" href="sc2__typeenums_8h.html#a1886d08967cb7cca7014be1080d26265">ABILITY_TYPE</a> ability, uint64_t target_tag)</td></tr>
<tr class="separator:ae5aeb3021c92a6a75734445c98f694ab inherit pub_methods_classsc2_1_1_action_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a33cd09a38d62343c8fc4f3e22a698556"><td class="memItemLeft" align="right" valign="top"><a id="a33cd09a38d62343c8fc4f3e22a698556"></a>
<a class="el" href="classsc2_1_1_proto_interface.html">ProtoInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>proto_</b></td></tr>
<tr class="separator:a33cd09a38d62343c8fc4f3e22a698556"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ccd751fb37ec0ec7a477b7bfc01fbf"><td class="memItemLeft" align="right" valign="top"><a id="a14ccd751fb37ec0ec7a477b7bfc01fbf"></a>
GameRequestPtr&#160;</td><td class="memItemRight" valign="bottom"><b>request_actions_</b></td></tr>
<tr class="separator:a14ccd751fb37ec0ec7a477b7bfc01fbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1edc0de46368f2c2edb79aa098727fb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1edc0de46368f2c2edb79aa098727fb4">&#9670;&nbsp;</a></span>SendUnitCommands()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::SendUnitCommands </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This function sends out all batched unit commands. You DO NOT need to call this function in non real time simulations since it is automatically called when stepping the simulation forward. You only need to call this function in a real time simulation. For example, if you wanted to move 20 marines to some position on the map you'd want to batch all of those unit commands and send them at once. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#afcb1dd0c6fa8b4d19d8bf4ede94d38d4">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="a633373febea0f4d74a2888932fa53733"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a633373febea0f4d74a2888932fa53733">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>unit_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Batches a UnitCommand that will be dispatched when <a class="el" href="classsc2_1_1_action_imp.html#a1edc0de46368f2c2edb79aa098727fb4">SendUnitCommands()</a> is called. UnitCommand has many overloaded functions, you can call it with most combinations of <a class="el" href="classsc2_1_1_unit.html">Unit</a> types (the <a class="el" href="classsc2_1_1_unit.html">Unit</a> object or tag), ability types (the enum or uint32_t) and targets (a 2D position or tag). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">unit_tag</td><td>The unique id that represents the unit. </td></tr>
    <tr><td class="paramname">ability</td><td>The unique id that represents the ability, see ABILITY_TYPE for ids. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>ABILITY_TYPE <a class="el" href="classsc2_1_1_unit.html">Unit</a> <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> <a class="el" href="classsc2_1_1_action_imp.html#a1edc0de46368f2c2edb79aa098727fb4">SendUnitCommands()</a> </dd></dl>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#ad9d9d772cdf29253b9dda5c7e7a3d836">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="a4b8557f67da3552d161d84f35e80f854"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b8557f67da3552d161d84f35e80f854">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#acec9f59d4ec45fb47e420cf47e56da24">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="ab4b1431197e8bf2339755756e30c3af2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4b1431197e8bf2339755756e30c3af2">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>unit_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#a6f1e2d3904a5d7a71b93d43a8d21ee1a">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="a1ba75d04c3771eee8f97f8ac03eaafc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ba75d04c3771eee8f97f8ac03eaafc1">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#adf9fa75730cc180e02e33bb3e09dc15e">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="aba8628a8421f0e879efdb0c19018f7d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba8628a8421f0e879efdb0c19018f7d6">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>unit_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>target_tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#a93d2b02440e21de680f5594817040696">sc2::ActionInterface</a>.</p>

</div>
</div>
<a id="adeb0b8dc66628da18902cbc39a292a4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeb0b8dc66628da18902cbc39a292a4d">&#9670;&nbsp;</a></span>UnitCommand() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sc2::ActionImp::UnitCommand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classsc2_1_1_unit.html">Unit</a> &amp;&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ability</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>target_tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Implements <a class="el" href="classsc2_1_1_action_interface.html#a061ab6708eef070a4db22a286372b3b0">sc2::ActionInterface</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/sc2api/sc2_agent.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
